<template>
  <CrudTable :columns="columns" :api="api" />
</template>
<script setup>
import CrudTable from '@/components/CrudTable.vue'
import * as api from '@/api/applyrequest'
const columns = [
  { prop: 'id', label: '申请ID' },
  { prop: 'userId', label: '用户ID' },
  { prop: 'deviceId', label: '设备ID' },
  { prop: 'startTime', label: '使用时间' },
  { prop: 'endTime', label: '预计归还时间' },
  { prop: 'status', label: '状态' },
  { prop: 'createTime', label: '提交时间' }
]
</script>